<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core_1_1" %>
<%--
  Created by IntelliJ IDEA.
  User: xiaofeng
  Date: 2025/5/19
  Time: 20:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setAttribute("score",50);
%>
<c:choose>
    <c:when test="${requestScope.score > 80}">
        ${score}-成绩优秀
    </c:when>
    <c:when test="${requestScope.score}">
        ${score}-成绩一般, 及格了
    </c:when>
    <c:otherwise>
        ${score}-没有及格
    </c:otherwise>
</c:choose>
</body>
</html>
